//
//  DynamicViewModel.h
//  fitness-iOS
//
//  Created by 卢仕彤 on 2018/1/10.
//  Copyright © 2018年 卢仕彤. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "DynamicDetailModel.h"
#import "DynamicCellContentView.h"
#define KLearb                  @"训练教学"
#define KStory                  @"任务故事"

@interface DynamicViewModel : NSObject

@end


@interface SDCycleScrollCell : UITableViewCell

@property (nonatomic, strong) UILabel *leftInfoLabel;
@property (nonatomic, strong) UIButton *checkMoreButton;
@property (nonatomic, strong) NSArray *imageInfoArray;
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier imageArray:(NSArray *)imageArray;

@end

@protocol DynamicPlanCellDelegate <NSObject>
/*
 *@brife:点击cell中某个图标响应
 */
-(void)ff_showDidSelectCellItem:(DynamicDetailModel *)model mainName:(NSString *)mainName;
/*
 *@brife:前往查看全部
 */
-(void)ff_showSeeDetailCollectContent:(NSString *)mainName;
@end

@interface DynamicPlanCell : UITableViewCell
@property (nonatomic, strong) UILabel *titleLabel;       //模块标题
@property (nonatomic, weak) id<DynamicPlanCellDelegate> delegate;
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier;

@end


@protocol DynamiccStoryCellDelegate <NSObject>
/*
 *@brife:点击cell中某个图标响应
 */
-(void)ff_showDidSelectCellItem:(DynamicDetailModel *)model mainName:(NSString *)mainName;
/*
 *@brife:前往查看全部
 */
-(void)ff_showSeeDetailCollectContent:(NSString *)mainName;
@end

@interface DynamicStoryCell : UITableViewCell
@property (nonatomic, strong) UILabel *titleLabel;       //模块标题
@property (nonatomic, weak) id<DynamiccStoryCellDelegate> delegate;
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier;
@end

#pragma -mark ------------------ collection 的cell----------------------

@interface DynamicCollectionViewCell : UICollectionViewCell
/*
 *@brief:给cell模型赋值
 */
@property (nonatomic, strong) DynamicDetailModel *model;
    
@end

@interface DynamicStoryViewCell : UICollectionViewCell
/*
 *@brief:给cell模型赋值
 */
@property (nonatomic, strong) DynamicDetailModel *model;

@end

